import axios from 'utils/axios.js'

// 获取主页导航信息
export function getHomeNav () {
  return axios.get('/course/anon/nav')
}
// 获取主页课程信息
export function getHomeCourse () {
  return axios.get('/course/anon/rank')
}
// 获取主页猿问和手记信息
export function getArticle () {
  // return axios.get('/mock/home/article.json')
  return axios.get('/article/anon/new')
}
